package com.jeesite.modules.common.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


/**
 * 任务发布表
 * @author code maker
 */
@ApiModel(value="任务发布表",description="任务发布表")
public class OtsDeploy implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="任务编号",name="tasknumber")
	private String tasknumber;

	public String getTasknumber() {
		return tasknumber;
	}

	public void setTasknumber(String tasknumber) {
		this.tasknumber = tasknumber;
	}

	/**
	 * 新增字段
	 */
	@ApiModelProperty(value="任务编号",name="taskNumber")
	private String taskNumber;

	@ApiModelProperty(value="任务联系人",name="contacts")
	private String contacts;

	@ApiModelProperty(value="任务联系人电话",name="contactPhone")
	private String contactPhone;
	/**
	 * 任务ID(自增长主键)
	 */
	@ApiModelProperty(value="任务ID(自增长主键)",name="taskid")
	private Long taskid;

	@ApiModelProperty(value="父任务ID",name="fataskid")
	private Long fataskid;

	/**
	 * 任务名称
	 */
	@ApiModelProperty(value="任务名称",name="tkname")
	private String tkname;

    /**
     * 任务标题
     */
    @ApiModelProperty(value="任务标题",name="title")
    private String title;

	@ApiModelProperty(value="任务类型，0个人任务，1单位任务",name="tkname")
	private Integer type;

	/**
	 * 任务分类ID(TK_TASK_CLASS表ID)
	 */
	@ApiModelProperty(value="任务分类ID(TK_TASK_CLASS表ID)",name="classid")
	private Long classid;

	/**
	 * 起始时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm",  timezone="GMT+8")
	@ApiModelProperty(value="起始时间",name="starttime")
	private Date starttime;

	/**
	 * 终止时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm",  timezone="GMT+8")
	@ApiModelProperty(value="终止时间",name="endtime")
	private Date endtime;

	/**
	 * 任务备注
	 */
	@ApiModelProperty(value="任务备注",name="tkdesc")
	private String tkdesc;

	/**
	 * 源任务ID
	 */
	@ApiModelProperty(value="源任务ID",name="ptaskid")
	private Long ptaskid;

	/**
	 * 反馈时间点要求 0:无,1:按月,2:按季度,3:按半年,4:按周,5:按天
	 */
	@ApiModelProperty(value="反馈时间点要求 0:无,1:按月,2:按季度,3:按半年,4:按周,5:按天",name="needbacktime")
	private Integer needbacktime;

	/**
	 * 反馈时间每月几号、每周几
	 */
	@ApiModelProperty(value="反馈时间每月几号、每周几, 1:不含周末， 2:含周末",name="backtime")
	private Integer backtime;

	/**
	 * 是周期任务?(0:不是,1:是)
	 */
	@ApiModelProperty(value="是周期任务?(0:不是,1:是)",name="period")
	private Integer period;

	/**
	 * 是分解任务?(0:不分解,1:创建人分解，2:执行人分解)
	 */
	@ApiModelProperty(value="是分解任务?(0:不分解,1:创建人分解，2:执行人分解)",name="resolve")
	private Integer resolve;

	/**
	 * 差异化数据
	 */
	@ApiModelProperty(value="差异化数据",name="diffdata")
	private String diffdata;

	/**
	 * 执行主体数量
	 */
	@ApiModelProperty(value="执行主体数量",name="exsjnum")
	private Integer exsjnum;

	/**
	 * 签收的数量
	 */
	@ApiModelProperty(value="签收的数量",name="receivenum")
	private Integer receivenum;

	/**
	 * 完成进度
	 */
	@ApiModelProperty(value="完成进度（状态）0:未完成，1:序时推进；2:已完成；3:滞后时序;4:取消任务",name="progress")
	private Integer progress;

	/**
	 * 总进度值
	 */
	@ApiModelProperty(value="总进度值百分比",name="tempo")
	private Double tempo;

	/**
	 * 最新反馈时间
	 */
	@ApiModelProperty(value="最新反馈时间",name="newbacktime")
	private String newbacktime;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value="创建人",name="userid")
	private Long userid;

	/**
	 * 创建人名称
	 */
	@ApiModelProperty(value="创建人名称",name="username")
	private String username;

	/**
	 * 状态(0:删除,1:待提交,2:待审核,3:审核中,4:审核驳回，10除删除:0、待提交：1、已归档:60，30:待反馈,40:已反馈,45:暂停,50:完成，60:已归档)
	 */
	@ApiModelProperty(value="状态(0:删除,1:待提交,2:待审核,3:审核中,4:审核驳回，(10除删除:0、待提交：1、已归档:60),30:未签收,40:已签收,45:暂停,50:完成，60:已归档)",name="status")
	private Integer status;

	/**
	 * 任务年度
	 */
	@ApiModelProperty(value="任务年度",name="years")
	private Integer years;

	/**
	 * 任务来源ID
	 */
	@ApiModelProperty(value="任务来源ID",name="sourceid")
	private Long sourceid;

	@ApiModelProperty(value="任务来源",name="sourcename")
	private String sourcename;

	/**
	 * 任务专题ID
	 */
	@ApiModelProperty(value="任务专题ID",name="topicid")
	private Long topicid;

	/**
	 * 分解到区县或单位(布尔型 必填)
	 */
	@ApiModelProperty(value="分解到区县或单位(布尔型 必填)",name="toresolveunit")
	private String toresolveunit;

	/**
	 * 量化目标值
	 */
	@ApiModelProperty(value="量化目标值",name="target")
	private Double target;

	@ApiModelProperty(value="量化目标值单位",name="targetunit")
	private String targetunit;

	/**
	 * 达标评判规则 0:完成值大于或等于目标值为达标,1:完成值小于或等于目标值为达标,2:完成值在左右浮动范围内为达标
	 */
	@ApiModelProperty(value="达标评判规则 0:完成值大于或等于目标值为达标,1:完成值小于或等于目标值为达标,2:完成值在左右浮动范围内为达标",name="standard")
	private Integer standard;

	/**
	 * 向上浮动值（只有standard为2时有值）
	 */
	@ApiModelProperty(value="向上浮动值（只有standard为2时有值）",name="upfloat")
	private Double upfloat;

	/**
	 * 向下浮动值（只有standard为2时有值）
	 */
	@ApiModelProperty(value="向下浮动值（只有standard为2时有值）",name="downfloat")
	private Double downfloat;

	/**
	 * 租户ID
	 */
	@ApiModelProperty(value="租户ID",name="compid")
	private Long compid;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",  timezone="GMT+8")
	@ApiModelProperty(value="创建时间",name="createtime")
	private Date createtime;

	/**
	 * 更新时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",  timezone="GMT+8")
	@ApiModelProperty(value="更新时间",name="updatetime")
	private Date updatetime;

	@ApiModelProperty(value="是否被分解.0:否；1：是",name="subtask")
	private Integer subtask;

	/**
	 * 备注1
	 */
	@ApiModelProperty(value="备注1",name="remarks1")
	private Integer remarks1;

	/**
	 * 备注2
	 */
	@ApiModelProperty(value="备注2",name="remarks2")
	private Integer remarks2;

	/**
	 * 备注3
	 */
	@ApiModelProperty(value="备注3",name="remarks3")
	private String remarks3;

	/**
	 * 备注4
	 */
	@ApiModelProperty(value="归档或完成的时间(该时间之后的时间点不参与逾期统计)",name="remarks4")
	private String remarks4;

	/**
	 * 备注5
	 */
	@ApiModelProperty(value="备注5",name="remarks5")
	private String remarks5;

	/**
	 * 备注6
	 */
	@ApiModelProperty(value="备注6",name="remarks6")
	private String remarks6;

	/**
	 * 创建人机构id
	 */
	@ApiModelProperty(value="创建人机构id",name="userorgid")
	private Long userorgid;

	/**
	 * 创建人机构名称
	 */
	@ApiModelProperty(value="备注6",name="userorgname")
	private String userorgname;

	/**
	 * 退回原因
	 */
	@ApiModelProperty(value="退回原因",name="backreasons")
	private String backreasons;

	/**
	 * 签收人id
	 */
	@ApiModelProperty(value="签收人id",name="receiptedid")
	private Long receiptedid;

	/**
	 * 签收人姓名
	 */
	@ApiModelProperty(value="签收人姓名",name="receiptedname")
	private String receiptedname;

	/**
	 * 查看时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm",  timezone="GMT+8")
	@ApiModelProperty(value="查看时间",name="readtime")
	private Date readtime;

	public Long getFataskid() {
		return fataskid;
	}

	public void setFataskid(Long fataskid) {
		this.fataskid = fataskid;
	}

	/**
	 * 签收时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm",  timezone="GMT+8")
	@ApiModelProperty(value="签收时间",name="receiptedtime")
	private Date receiptedtime;

	@ApiModelProperty(value="反馈是否显示附件",name="feedannex")
	private Integer feedannex;
	@ApiModelProperty(value="指定审批人id",name="userid")
	private Long approveuserid;

	@ApiModelProperty(value="指定审批人姓名",name="username")
	private String approveusername;

	public Long getReceiptedid() {
		return receiptedid;
	}

	public void setReceiptedid(Long receiptedid) {
		this.receiptedid = receiptedid;
	}

	public String getReceiptedname() {
		return receiptedname;
	}

	public void setReceiptedname(String receiptedname) {
		this.receiptedname = receiptedname;
	}

	public Integer getSubtask() {
		return subtask;
	}

	public void setSubtask(Integer subtask) {
		this.subtask = subtask;
	}

	public Integer getProgress() {
		return progress;
	}

	public void setProgress(Integer progress) {
		this.progress = progress;
	}

	public Double getTempo() {
		return tempo;
	}

	public void setTempo(Double tempo) {
		this.tempo = tempo;
	}

	public Date getReadtime() {
		return readtime;
	}

	public void setReadtime(Date readtime) {
		this.readtime = readtime;
	}

	public Date getReceiptedtime() {
		return receiptedtime;
	}

	public void setReceiptedtime(Date receiptedtime) {
		this.receiptedtime = receiptedtime;
	}

	public String getBackreasons() {
		return backreasons;
	}

	public void setBackreasons(String backreasons) {
		this.backreasons = backreasons;
	}

	/**
	 * setter for taskid
	 * @param taskid
	 */
	public void setTaskid(Long taskid) {
		this.taskid = taskid;
	}

	/**
	 * getter for taskid
	 */
	public Long getTaskid() {
		return taskid;
	}

	/**
	 * setter for tkname
	 * @param tkname
	 */
	public void setTkname(String tkname) {
		this.tkname = tkname;
	}

	/**
	 * getter for tkname
	 */
	public String getTkname() {
		return tkname;
	}

	/**
	 * setter for classid
	 * @param classid
	 */
	public void setClassid(Long classid) {
		this.classid = classid;
	}

	/**
	 * getter for classid
	 */
	public Long getClassid() {
		return classid;
	}

	/**
	 * setter for starttime
	 * @param starttime
	 */
	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	/**
	 * getter for starttime
	 */
	public Date getStarttime() {
		return starttime;
	}

	/**
	 * setter for endtime
	 * @param endtime
	 */
	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	/**
	 * getter for endtime
	 */
	public Date getEndtime() {
		return endtime;
	}

	/**
	 * setter for tkdesc
	 * @param tkdesc
	 */
	public void setTkdesc(String tkdesc) {
		this.tkdesc = tkdesc;
	}

	/**
	 * getter for tkdesc
	 */
	public String getTkdesc() {
		return tkdesc;
	}

	/**
	 * setter for ptaskid
	 * @param ptaskid
	 */
	public void setPtaskid(Long ptaskid) {
		this.ptaskid = ptaskid;
	}

	/**
	 * getter for ptaskid
	 */
	public Long getPtaskid() {
		return ptaskid;
	}

	/**
	 * setter for needbacktime
	 * @param needbacktime
	 */
	public void setNeedbacktime(Integer needbacktime) {
		this.needbacktime = needbacktime;
	}

	/**
	 * getter for needbacktime
	 */
	public Integer getNeedbacktime() {
		return needbacktime;
	}

	/**
	 * setter for backtime
	 * @param backtime
	 */
	public void setBacktime(Integer backtime) {
		this.backtime = backtime;
	}

	/**
	 * getter for backtime
	 */
	public Integer getBacktime() {
		return backtime;
	}

	/**
	 * setter for period
	 * @param period
	 */
	public void setPeriod(Integer period) {
		this.period = period;
	}

	/**
	 * getter for period
	 */
	public Integer getPeriod() {
		return period;
	}

	/**
	 * setter for resolve
	 * @param resolve
	 */
	public void setResolve(Integer resolve) {
		this.resolve = resolve;
	}

	/**
	 * getter for resolve
	 */
	public Integer getResolve() {
		return resolve;
	}

	/**
	 * setter for diffdata
	 * @param diffdata
	 */
	public void setDiffdata(String diffdata) {
		this.diffdata = diffdata;
	}

	/**
	 * getter for diffdata
	 */
	public String getDiffdata() {
		return diffdata;
	}

	/**
	 * setter for exsjnum
	 * @param exsjnum
	 */
	public void setExsjnum(Integer exsjnum) {
		this.exsjnum = exsjnum;
	}

	/**
	 * getter for exsjnum
	 */
	public Integer getExsjnum() {
		return exsjnum;
	}

	/**
	 * setter for receivenum
	 * @param receivenum
	 */
	public void setReceivenum(Integer receivenum) {
		this.receivenum = receivenum;
	}

	/**
	 * getter for receivenum
	 */
	public Integer getReceivenum() {
		return receivenum;
	}

	/**
	 * setter for newbacktime
	 * @param newbacktime
	 */
	public void setNewbacktime(String newbacktime) {
		this.newbacktime = newbacktime;
	}

	/**
	 * getter for newbacktime
	 */
	public String getNewbacktime() {
		return newbacktime;
	}

	/**
	 * setter for userid
	 * @param userid
	 */
	public void setUserid(Long userid) {
		this.userid = userid;
	}

	/**
	 * getter for userid
	 */
	public Long getUserid() {
		return userid;
	}

	/**
	 * setter for username
	 * @param username
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * getter for username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * setter for status
	 * @param status
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * getter for status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * setter for years
	 * @param years
	 */
	public void setYears(Integer years) {
		this.years = years;
	}

	/**
	 * getter for years
	 */
	public Integer getYears() {
		return years;
	}

	/**
	 * setter for sourceid
	 * @param sourceid
	 */
	public void setSourceid(Long sourceid) {
		this.sourceid = sourceid;
	}

	/**
	 * getter for sourceid
	 */
	public Long getSourceid() {
		return sourceid;
	}

	/**
	 * setter for topicid
	 * @param topicid
	 */
	public void setTopicid(Long topicid) {
		this.topicid = topicid;
	}

	/**
	 * getter for topicid
	 */
	public Long getTopicid() {
		return topicid;
	}

	/**
	 * setter for toresolveunit
	 * @param toresolveunit
	 */
	public void setToresolveunit(String toresolveunit) {
		this.toresolveunit = toresolveunit;
	}

	/**
	 * getter for toresolveunit
	 */
	public String getToresolveunit() {
		return toresolveunit;
	}

	/**
	 * setter for target
	 * @param target
	 */
	public void setTarget(Double target) {
		this.target = target;
	}

	/**
	 * getter for target
	 */
	public Double getTarget() {
		return target;
	}

	/**
	 * setter for standard
	 * @param standard
	 */
	public void setStandard(Integer standard) {
		this.standard = standard;
	}

	/**
	 * getter for standard
	 */
	public Integer getStandard() {
		return standard;
	}

	/**
	 * setter for upfloat
	 * @param upfloat
	 */
	public void setUpfloat(Double upfloat) {
		this.upfloat = upfloat;
	}

	/**
	 * getter for upfloat
	 */
	public Double getUpfloat() {
		return upfloat;
	}

	/**
	 * setter for downfloat
	 * @param downfloat
	 */
	public void setDownfloat(Double downfloat) {
		this.downfloat = downfloat;
	}

	/**
	 * getter for downfloat
	 */
	public Double getDownfloat() {
		return downfloat;
	}

	/**
	 * setter for compid
	 * @param compid
	 */
	public void setCompid(Long compid) {
		this.compid = compid;
	}

	/**
	 * getter for compid
	 */
	public Long getCompid() {
		return compid;
	}

	/**
	 * setter for createtime
	 * @param createtime
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	/**
	 * getter for createtime
	 */
	public Date getCreatetime() {
		return createtime;
	}

	/**
	 * setter for updatetime
	 * @param updatetime
	 */
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	/**
	 * getter for updatetime
	 */
	public Date getUpdatetime() {
		return updatetime;
	}

	/**
	 * setter for remarks1
	 * @param remarks1
	 */
	public void setRemarks1(Integer remarks1) {
		this.remarks1 = remarks1;
	}

	/**
	 * getter for remarks1
	 */
	public Integer getRemarks1() {
		return remarks1;
	}

	/**
	 * setter for remarks2
	 * @param remarks2
	 */
	public void setRemarks2(Integer remarks2) {
		this.remarks2 = remarks2;
	}

	/**
	 * getter for remarks2
	 */
	public Integer getRemarks2() {
		return remarks2;
	}

	/**
	 * setter for remarks3
	 * @param remarks3
	 */
	public void setRemarks3(String remarks3) {
		this.remarks3 = remarks3;
	}

	/**
	 * getter for remarks3
	 */
	public String getRemarks3() {
		return remarks3;
	}

	/**
	 * setter for remarks4
	 * @param remarks4
	 */
	public void setRemarks4(String remarks4) {
		this.remarks4 = remarks4;
	}

	/**
	 * getter for remarks4
	 */
	public String getRemarks4() {
		return remarks4;
	}

	/**
	 * setter for remarks5
	 * @param remarks5
	 */
	public void setRemarks5(String remarks5) {
		this.remarks5 = remarks5;
	}

	/**
	 * getter for remarks5
	 */
	public String getRemarks5() {
		return remarks5;
	}

	/**
	 * setter for remarks6
	 * @param remarks6
	 */
	public void setRemarks6(String remarks6) {
		this.remarks6 = remarks6;
	}

	/**
	 * getter for remarks6
	 */
	public String getRemarks6() {
		return remarks6;
	}

	public Long getUserorgid() {
		return userorgid;
	}

	public void setUserorgid(Long userorgid) {
		this.userorgid = userorgid;
	}

	public String getUserorgname() {
		return userorgname;
	}

	public void setUserorgname(String userorgname) {
		this.userorgname = userorgname;
	}

	/**
	 * OtsDeployEntity.toString()
	 */
	@Override
	public String toString() {
		return "OtsDeployEntity{" +
				"taskid='" + taskid + '\'' +
				", tkname='" + tkname + '\'' +
				", classid='" + classid + '\'' +
				", starttime='" + starttime + '\'' +
				", endtime='" + endtime + '\'' +
				", tkdesc='" + tkdesc + '\'' +
				", ptaskid='" + ptaskid + '\'' +
				", needbacktime='" + needbacktime + '\'' +
				", backtime='" + backtime + '\'' +
				", period='" + period + '\'' +
				", resolve='" + resolve + '\'' +
				", diffdata='" + diffdata + '\'' +
				", exsjnum='" + exsjnum + '\'' +
				", receivenum='" + receivenum + '\'' +
				", progress='" + progress + '\'' +
				", newbacktime='" + newbacktime + '\'' +
				", userid='" + userid + '\'' +
				", username='" + username + '\'' +
				", status='" + status + '\'' +
				", years='" + years + '\'' +
				", sourceid='" + sourceid + '\'' +
				", topicid='" + topicid + '\'' +
				", toresolveunit='" + toresolveunit + '\'' +
				", target='" + target + '\'' +
				", standard='" + standard + '\'' +
				", upfloat='" + upfloat + '\'' +
				", downfloat='" + downfloat + '\'' +
				", compid='" + compid + '\'' +
				", createtime='" + createtime + '\'' +
				", updatetime='" + updatetime + '\'' +
				", remarks1='" + remarks1 + '\'' +
				", remarks2='" + remarks2 + '\'' +
				", remarks3='" + remarks3 + '\'' +
				", remarks4='" + remarks4 + '\'' +
				", remarks5='" + remarks5 + '\'' +
				", remarks6='" + remarks6 + '\'' +
				", userorgid='" + userorgid + '\'' +
				", userorgname='" + userorgname + '\'' +
				'}';
	}

	public String getTargetunit() {
		return targetunit;
	}

	public void setTargetunit(String targetunit) {
		this.targetunit = targetunit;
	}

	public String getSourcename() {
		return sourcename;
	}

	public void setSourcename(String sourcename) {
		this.sourcename = sourcename;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	@ApiModelProperty(value="是否结束反馈，0否，1是",name="calstandard")
	private Integer calstandard;

	public Integer getCalstandard() {
		return calstandard;
	}

	public void setCalstandard(Integer calstandard) {
		this.calstandard = calstandard;
	}

	public String getTaskNumber() {
		return taskNumber;
	}

	public void setTaskNumber(String taskNumber) {
		this.taskNumber = taskNumber;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

	public Integer getFeedannex() {
		return feedannex;
	}

	public void setFeedannex(Integer feedannex) {
		this.feedannex = feedannex;
	}

	public Long getApproveuserid() {
		return approveuserid;
	}

	public void setApproveuserid(Long approveuserid) {
		this.approveuserid = approveuserid;
	}

	public String getApproveusername() {
		return approveusername;
	}

	public void setApproveusername(String approveusername) {
		this.approveusername = approveusername;
	}
}
